/*
 * @Description: Description
 * @Author': xuqinyang'
 * @Date: 2022-11-16 09:45:28
 * @LastEditors: xuqinyang
 * @LastEditTime: 2022-12-08 17:37:36
 */
import request from '@/utils/request'

// 查询任务列表
export function queryTaskList(params) {
    return request({
        url: '/admin/admin/resignInherit/queryResignPeopleList',
        method: 'get',
        params
    })
}

// 查询选中客户 
export function checkCustomer(params) {
    return request({
        url: '/admin/admin/resignInherit/customerInfo',
        method: 'get',
        params
    })
}


// 离职继承 
export function resignInherit(data) {
    return request({
        url: '/admin/admin/resignInherit/resignInherit',
        method: 'post',
        data,
    })
}

// 转派员工 
export function switchStaff(params) {
    return request({
        url: '/admin/admin/resignInherit/userInfo',
        method: 'get',
        params
    })
}

// 查询员工姓名 
export function searchStaffname(params) {
    return request({
        url: '/admin/admin/resignInherit/name',
        method: 'get',
        params
    })
}